<template>
	<el-button :plain="true" @click="消息提示">success</el-button>
</template>
<script setup>
import { ElMessage } from 'element-plus'

const 消息提示=()=>{
	ElMessage({
		  message:'我是消息啊',
 type:'success' 
  })
}
</script>
<style lang="scss"  scoped>

</style>